While here, change specification from -lcurses to -lncurses. The former does not exist in ports ncurses package and it is an alias for libncurses in base.