If you're building a min/maxed archer, you wouldn't go with a STR build, you'd be going with a DEX build. Straight classed Fighter (Battlemaster) or straight classed Rogue (thief), equip either with dual handcrossbows for the best archer. Max out your dex.
The Fighter version uses maneuvers at range combined with the off-hand attack; Rogue version uses sneak attack at range making use of their 2nd bonus action/round for extra attacks.
Add in magic hand crossbows, gloves/rings that give extra ranged damage, magic arrows and you have a powerful archer that can either deliver massive sneak attack at range or trip/disarm foes from a distance (meaning they take longer to reach you and do so without their weapon). There's even an item that gives enemies disadvantage to resist your battlemaster manuevers.
Avoid the mistake of multi-classing the rogue (you get far greater sneak attack damage single-classed, and more than make up for whatever a second class would add).