easyblock = 'ConfigureMake'

name = 'gettext'
version = '0.19.8'

homepage = 'http://www.gnu.org/software/gettext/'
description = """GNU `gettext' is an important step for the GNU Translation Project, as it is an asset on which we may
build many other steps. This package offers to programmers, translators, and even users, a well integrated set of tools
and documentation"""

# This is a basic stripped down version of gettext without any
# dependencies on other packages used as initial builddep for XZ
# It is the first step in the cyclic dependency chain of
# XZ -> libxml2 -> gettext -> XZ

toolchain = SYSTEM

sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]

dependencies = [('ncurses', '6.0')]

configopts = '--without-emacs --with-included-libxml --without-xz --without-bzip2'

moduleclass = 'vis'