For the same money you would spend on the A10-5800k, you could get a FX6300 which is a better option since you are getting a GPU anyway.
Otherwise that build looks fine.
Personally...if I were you, I would go to pcpartpicker.com and make a profile, and when you select a processor, it will show you only compatible parts so that you can be sure you're getting the right stuff...you can build out an entire PC, and it will show you where you can get it for the least money.
If you already have those things, then the A10 is NOT horrible....you will still be able to play your games and be fine, but you could have made a better choice for CPU and Motherboard and gotten a little more performance for your money spent.