easyblock = 'ConfigureMake'

name = 'kbproto'
version = '1.0.7'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X.org KBProto 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 ['XKBgeom.h', 'XKB.h',  'XKBproto.h', 'XKBsrv.h', 'XKBstr.h']],
    'dirs': [],
}

moduleclass = 'vis'
