That depends on how much refurbishing and killer-attack castle you want. You can do a fort apache version with wooden pallisades, earthen mounds, and ditches for a few thousand. You can do it "Neuschwanstein" [look it up] style for 12,000 - 15,000 gp. (Gold chamber pots would be a LOT more than 15,000 gp.)