I totally agree with John.. You are getting a great drivetrain no matter what you go with. I’ve run shimano most of the time I’ve ridden (lx, xt, xtr..) and just put a new XO1 Sram drive train on my new bike. For my first time running Sram on an MTB, I love it. In my mind, that is what I would put on my next bike as well but, then again, I loved the last bike I had with XTR as well!
Look for the great build. The great deal. Don’t let the brands get in your way of a great ride!