easyblock = 'ConfigureMake'

name = 'xf86vidmodeproto'
version = '2.3.1'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X11 XFree86 video mode extension protocol headers."""

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

sources = [SOURCE_TAR_GZ]
source_urls = ['http://xorg.freedesktop.org/archive/individual/proto/']

sanity_check_paths = {
    'files': ['include/X11/extensions/xf86vm%s.h' % x for x in ['', 'proto', 'str']],
    'dirs': []
}

moduleclass = 'devel'
