Beidh is the future tense of the irregular verb bí meaning be.
It is lenited here because of the preceding direct relative particle a, which lenites following lenitable consonants.
In Connacht and Ulster it is pronounced, roughly, to rhyme with the English vie.
In Munster, it is pronounced to rhyme with the English vegg.