In this paper we consider an extension to the renewal or Sparre Andersen risk process by introducing a dependence structure between the claim sizes and the interclaim times through a Farlie-GumbelMorgenstern copula proposed by Journal, 2010, 3, 221-245]. We consider that the inter-arrival times follow the Erlang(n) distribution. By studying the roots of the generalized Lundberg equation, the Laplace transform of the expected discounted penalty function is derived and a detailed analysis of the Gerber -Shiu function is given when the initial surplus is zero. It is proved that this function satisfies a defective renewal equation and its solution is given through the compound geometric tail representation of the Laplace transform of the time to ruin. Explicit expressions for the discounted joint and marginal distribution functions of the surplus prior to the time of ruin and the deficit at the time of ruin are derived. Finally, for exponential claim sizes explicit expressions and numerical examples for the ruin probability and the Laplace transform of the time to ruin are given.