Etymology Question

ETYMOLOGY QUESTION….Does anyone know the origin of the phrase “mouth breather,” in the sense of “clueless troglodyte”? None of my reference books says anything about it, ten seconds on Google hasn’t produced an answer, and it doesn’t really seem to make sense. What’s the deal?