Make it build again.

Use autotools-dev dh sequence instead of copying by hand.
Depend autotools-dev which has the files so it works reliably.
Change from python-central to python2.
Update libgpm dependency.