Muzzle Gun smoke

I was wondering how I should make gun smoke that follows a guns barrel after a shot so if you turn the camera the smoke trails the muzzle and fades after a couple seconds. How should I make this?

attach the Particle System to the Gun’s Barrel