another cool option, but seem over powered a bit, is a archer warpriest.i doubt my DM allow it...
the fact all the feats are as if full BAB, WP SP, destruction blessing, swift +4 from divine favor etc is .... a overkill.
IIRC correctly, warpriest count their HD as BAB for qualifying for feats but not how the feat operates. So you wouldn't for example use Deadly Aim as though your BAB were equal to your HD, you would use actual BAB. Of course, that's really the only archery feat that has a BAB dependency once you have qualified for it so it doesn't make a huge difference.
Warpriests are brutal as archer's because of all the bonus feats they get, the ability to get normally fighter only feats, the ability to qualify for feats as full BAB, and the ability to self buff like crazy with no loss of action economy.
yap, low on skills or RP off comabts, but they see no other class in melee or archery style.