Command explanations
--with-shared: This enables the build of the
shared ncurses library files.
--disable-termcap: Disabled the compilation of
termcap fallback support.
ln -s libncurses.a libcurses.a: This creates the
/lib/libcurses.a symlink that for some reason isn't created during the
libncurses installation.