What is the origin of the word nincompoop?

what is the origin of the word nincompoop or ninkumpoop