Long stock, short call + long put. Alternatively long stock + short ITM call. This is the riskier version as the buyer of your option can exersice before you get your dividend money. But if the call has time value its not a big deal.