Mr. Market has punished The Home Depot (HD -0.03%), Lowes Companies, Inc (LOW 0.73%), and especially Trex (TREX 0.70%) during the past few months as the housing market has stumbled a little. Foolish contributor Jason Hall takes a closer look at what's happening, and applies some solid long-term, forward-looking analysis to these companies, and the building-supplies market in general. 

Not sure what you should do? Check out the video below.