package ncurses {
	description = "a free software emulation of curses in System V Release 4.0 (SVr4)";
	website = "https://invisible-island.net/ncurses";
	anitya = 373226;

	version# = "6.6";
	source = remoteTar {
		url = "https://ftpmirror.gnu.org/gnu/ncurses/ncurses-"+version+".tar.gz";
		checksum = "XvWp4xi6hR_hH8XUoGY26L_pqBSDapJYulhzZqPuR0KNklqypqNc1yNXU-nOjf5w";
		compress = gzip;
	};

	exec = make {
		configure = {
			"with-pkg-config";
			"enable-pc-files";
			"with-shared";
			"with-cxx-shared";
		};

		// "tests" are actual demo programs, not a test suite.
		skipCheck = true;
	};

	inputs = [ pkg-config ];
}
