easyblock = 'ConfigureMake'

name = 'JWM'
version = '2.3.5'

homepage = 'https://joewing.net/projects/jwm/'
description = """JWM is a light-weight window manager for the X11 Window System."""

toolchain = {'name': 'intel', 'version': '2016a'}

sources = [SOURCELOWER_TAR_XZ]
source_urls = ['https://joewing.net/projects/jwm/releases']

dependencies = [
    ('bzip2', '1.0.6'),
    ('libX11', '1.6.3'),
    ('libXft', '2.3.2', '-fontconfig-2.11.95'),
    ('libXext', '1.3.3'),
    ('libXmu', '1.1.2'),
    ('libXpm', '3.5.11'),
    ('libpng', '1.6.21'),
    ('libjpeg-turbo', '1.4.2', '-NASM-2.12.01'),
    ('libXinerama', '1.1.3'),
    ('fontconfig', '2.11.95'),
    ('cairo', '1.14.6', '-GLib-2.48.0'),
    ('libcroco', '0.6.11'),
    ('librsvg', '2.40.15'),
]

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

moduleclass = 'vis'
