sudo apt-get install -y uthash-dev libconfig-dev libarchive-dev libtool autoconf automake checkinstall
git clone https://github.com/rieck/malheur.git
cd malheur
./bootstrap
./configure --prefix=/usr
makeNote: The version number checkinstall parses from Malhur doesn’t conform to Debian standard, so you'll have to specify the correct version number when prompted by checkinstall. Technically, sudo make install will work fine. checkinstall just makes it easier to upgrade and/or remove it just like any other Debian package.
sudo checkinstall