Also, grepping in the sources, I see ncurses is called from configure (probably from m4/package_ncurses.m4)
In doc/CHANGES I also see:
xfsdump-2.2.12 (29 May 2003)
- fix up an invutil Makefile botch which was effectively
disabling the optional ncurses support (interactive mode).
xfsdump-2.2.4 (08 November 2002)
- configure now looks for, and xfsinvutil uses, the ncurses
header and library rather than the curses version - this
resolves an issue in those distributions that don't make
the compatibility library available.
and I see multiple #include <ncurses.h> under invutil directory