A West Texas man who hid more than $78,000 in clothes in his bedroom closet has been sentenced to seven years in prison for dealing cocaine.