Mr. Market has punished The Home Depot (HD 2.18%), Lowes Companies, Inc (LOW 1.11%), and especially Trex (TREX 2.15%) 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.