Here are my guidelines for building:
1) Predominant riding terrain.
2) Primary riders physique.
3) Lookup and read local legal requirements.
4) Type of bike.
5) Budget.
Stay within these guidelines and you'll have a bike you can enjoy riding. Good luck with your build.