easyblock = 'ConfigureMake'

name = 'htop'
version = "2.0.1"

homepage = 'http://hisham.hm/htop/'

description = """An interactive process viewer for Unix"""

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['http://hisham.hm/htop/releases/%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['f410626dfaf6b70fdf73cd7bb33cae768869707028d847fed94a978e974f5666']

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

preconfigopts = 'LIBS="$LIBS -ltinfo"'

sanity_check_paths = {
    'files': ['bin/htop'],
    'dirs': ['share'],
}

moduleclass = 'tools'
