easyblock = 'MakeCp'

name = 'skewer'
version = '0.2.2'

homepage = 'https://github.com/relipmoc/skewer'
description = """skewer implements the bit-masked k-difference matching algorithm dedicated to the task of adapter
 trimming and it is specially designed for processing next-generation sequencing (NGS) paired-end sequences."""

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

source_urls = ['https://github.com/relipmoc/skewer/archive']
sources = ['%(version)s.tar.gz']

buildopts = 'CXX="$CXX" CXXFLAGS="-c $CXXFLAGS" LDFLAGS="$CXXFLAGS -pthread"'

files_to_copy = [(['skewer'], 'bin')]

sanity_check_paths = {
    'files': ['bin/skewer'],
    'dirs': [],
}

moduleclass = 'bio'
