You can also have a look here: https://opendata.blender.org/
As Omar said, get the best you can afford.
I think the order is GPU, CPU, RAM, but that might also depend on what you are doing with Blender.
And of course avoid bottleneck situations, but as you want to build your own computer, you will be well aware of that.