easyblock = 'ConfigureMake'

name = 'inputproto'
version = '2.3.2'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X.org InputProto protocol headers."""

toolchain = {'name': 'intel', 'version': '2018'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_PROTO_SOURCE]

builddependencies = [('xorg-macros', '1.19.0')]

sanity_check_paths = {
    'files': ['include/X11/extensions/%s' % x for x in ['XI2.h', 'XI.h',  'XIproto.h', 'XI2proto.h']],
    'dirs': [],
}

moduleclass = 'vis'