Check pkg-config for ncurses before manually looking for it.
Review Request #729 — Created June 8, 2021 and submitted — Latest diff uploaded
This patch originated from https://bugs.gentoo.org/461482 but is being applied by Gary Kramlich <grim@reaperworld.com>
Configured only, worked fine on debian unstable.