you need to install libncurses5-dev (or similiar named). next time read the README...
if you only would correctly follow the guides...
i did that also
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
on which distro are you building?
are you building from git?
what is the version of your libncurses?