name = 'SAMtools'
version = '0.1.19'

homepage = 'http://www.htslib.org/'
description = """SAM Tools provide various utilities for manipulating alignments in the SAM format,
 including sorting, merging, indexing and generating alignments in a per-position format."""

toolchain = {'name': 'foss', 'version': '2015a'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_BZ2]
source_urls = [('http://sourceforge.net/projects/samtools/files/%(namelower)s/%(version)s', 'download')]

patches = ['SAMtools-%(version)s_Makefile-ncurses.patch']

dependencies = [
    ('ncurses', '5.9'),
    ('zlib', '1.2.8'),
]

moduleclass = 'bio'
