easyblock = 'ConfigureMake'

name = 'libXcursor'
version = '1.1.14'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X Cursor management library"""

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

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('fixesproto', '5.0'),
]

dependencies = [
    ('libX11', '1.6.3'),
    ('libXfixes', '5.0.1'),
    ('libXrender', '0.9.9'),
]

sanity_check_paths = {
    'files': [
        'include/X11/Xcursor/Xcursor.h',
        'lib/libXcursor.%s' %
        SHLIB_EXT,
        'lib/libXcursor.a'],
    'dirs': [],
}

moduleclass = 'vis'
