The Moon has abundant iron and aluminium. Carbon and hydrogen are possibly an issue but capture a comet or two and that problem goes away. I'm not sure what the state of phosphorus is but luckily we don't need all that much of it.
What would we need from Earth? What would be economical to ship from Earth?