I built a 8X10 shed in my yard for about $1000
I suspect that a modified pop-up cabin could be built for less than $10,000. Especially if the homeless assembled them themselves.