Where does the phrase 'doesn't cut the mustard' derive from?

the phrase 'he doesn't cut the mustard' quite simply means, he hasn't got it, he can't do it, he doesn't have the balls to do it. But where did the phrase come from???
10 answers 10