I've been here :/ sadly for me he was my best friend AND my other best friend's bf ^_^
Do not under any circumstances let him find out that you like her!
If she really likes you then you have nothing to worry about, just wait until she knows her current relationship is over. If things aren't right then it'll probably happen sooner rather than later. Have patience.