{% set name = "GraphAligner" %}
{% set version = "1.0.16" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/maickrau/{{ name }}/files/8335348/{{ name }}.tar.gz
  sha256: 5bb3003059fb41f2fe3f4785b71e9c043438fe3942e367a3dd2c003cdab8a572
  patches: version.patch

build:
  number: 0
  skip: True # [osx]

requirements:
  build:
    - make
    - {{ compiler('cxx') }}
  host:
    - jemalloc=5.2.0
    - zlib
    - boost=1.67.0
    - libboost=1.67.0
    - sparsehash
    - pkg-config
    - libdivsufsort
    - protobuf=3.14.0
    - libprotobuf-static=3.14.0
    - sdsl-lite

test:
  commands:
    - (GraphAligner -h || true) | grep GraphAligner

about:
  home: https://github.com/maickrau/GraphAligner
  license: MIT
  license_file: LICENSE.md
  summary: Sequence to graph aligner for long reads
  identifier: https://doi.org/10.1101/323063
