# mutt_vc_query

Query vcard file in mutt, using query command.  Fork of mutt\_vc\_query, part of
the [Rolo](http://rolo.sourceforge.net/) project, which seems abandoned.

Original read me file provided in README.

## Depends

* [libvc](http://rolo.sourceforge.net/)

## Compilation

    autoreconf -f -i
    ./configure
    make
    make install

Note: if making changes, use

    git update-index --assume-unchanged INSTALL

to avoid automatic changes to INSTALL making it into the git history.

## Test

For runing the unit test suite:

    make check

## Usage

    mutt_vc_query -f <path to .vcf> <query>

## Usage in mutt

Add to your muttrc

    set query_command="mutt_vc_query -f <path to .vcf> '%s'"

Then you can press Shift-Q to start a query, or Ctrl-T to complete an email
address. 

## Changes from original

* Added -a option to output all email addresses associated to a contact, instead
  of just the preferred address.
