name: ncurses
version: 6.1
release: 1
sources: ftp://ftp.invisible-island.net/ncurses/ncurses-%{version}.tar.gz
options:
- configure: --enable-widec --without-ada --with-shared --enable-pc-files --disable-termcap
@install
cd ncurses-%{version}
make 'DESTDIR=%{pkg}' install
cd '%{pkg}' && rm ./%{prefix}/bin/clear ./%{prefix}/bin/reset