A 45-year-old woman presents with recurrent headaches described as unilateral, throbbing and associated with photophobia and nausea, occurring about twice a month and relieved by resting in a dark room. Neurological examination is normal. Which is the most appropriate acute treatment?