That seems like a lot for a bike that needs serious engine work.
If I remeber right, KLX650 parts are not impossible to find, but are by no means as easy as KLR parts.
It all depends how much hassle you want t deal with right away.
If it was me, I'd be looking for a bike that will run well with little to repair if anything.
That way you can enjoy it.