How much would it cost to erradicate poverty in the world?

The food side of poverty not to much because we actually have enough food to go around the whole world but it doesn't get to the places in need but the money to re-build homes would be a lot.