{% set version = "1.6.0" %}

package:
  name: parsnp
  version: '{{version}}'

source:
  url: "https://github.com/marbl/parsnp/archive/v{{version}}.tar.gz"  
  sha256: 9e390bb4295131ea897033aea7b00312aa436f5a07322bc401213ec19e71fc8f

build:
  # Can't find -lomp
  skip: True  # [osx]
  number: 0

requirements:
  build:
    - {{ compiler('cxx') }}
    - automake ==1.15
    - autoconf
    - libtool
    - make
    - openmp
    - llvm-openmp # [osx]
  host:
    - zlib
    - llvm-openmp  # [osx]
    - openmp
  run:
    - python >=3.6
    - llvm-openmp  # [osx]
    - openmp
    - harvesttools
    - fasttree
    - phipack
    - biopython
    - numpy
    - zlib
    - phipack
    - raxml
    - fasttree
    - fastani
    - mash
    - harvesttools

about:
  home: https://github.com/marbl/parsnp
  license: "custom; see https://raw.githubusercontent.com/marbl/parsnp/master/LICENSE"
  summary: Parsnp is a command-line-tool for efficient microbial core genome alignment and SNP detection.

extra:
  skip-lints:
    - should_be_noarch_generic
    - should_not_be_noarch_source
