i'm trying to install nzbget.. i think it was in the pkgsrc way back but its not there anymore.. so i tried this:

(1) i downloaded the source from nzbget website
(2) then ./configure said "A compiler with support for C++14 language features is required."... so i installed gcc6 using "pkgin in gcc6"
(3) so then i tried "PATH=/usr/pkg/gcc6/bin:$PATH ./configure" and it said compiler is ok, but now i got "configure: error: "ncurses library not found""

(4) i have ncurses lib in /usr/pkg/include/ncurses, how to let ./configure know the location of ncurses lib?