ncurses: fix depends in subpkgs and modernize.