libncurses-dev is a virtual package, replace with libncurses5-dev