{% set version = "0.7.4" %}
{% set sha256 = "58b4e5934b0de9fb432b4513f327ff9a1df86f6abfe9fe14f1a25ffbeb347b20" %}

package:
  name: bwa
  version: {{ version }}

build:
  number: 7

source:
  url: http://downloads.sourceforge.net/project/bio-bwa/bwa-{{ version }}.tar.bz2
  sha256: {{ sha256 }}
  patches:
    - 0001-makefile.patch

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - zlib
  run:
    - zlib

test:
  commands:
    - bwa 2>&1 | grep "index sequences in the"

about:
  home: http://bio-bwa.sourceforge.net
  license: MIT
  license_file: COPYING
  summary: The BWA read mapper.

extra:
  identifiers:
    - biotools:bwa
